
#include <iostream>

using namespace std;

class stu
{
public:
    stu(string n):myname(n){}
    void dis()
    {
        cout<<myname<<endl;
    }

private:
    string myname;
};

int main(void)
{
    //stu st;
    stu st[2] = {stu("fyc"), stu("lyt")};
    st[0].dis();
    st[1].dis();

    //stu *st1 = new stu[1]{stu("hello")};
    //*st1.dis();

    return 0;
}


